package com.wct.genetic;

/**
 * @author WEI
 * @date 2018/6/5 22:00
 */
public class City {
    private int cityId;
    private double x;
    private double y;

    public City(int cityId, double x, double y) {
        this.cityId = cityId;
        this.x = x;
        this.y = y;
    }

    public int getCityId() {
        return cityId;
    }

    public double getX() {
        return x;
    }

    public double getY() {
        return y;
    }

    @Override
    public String toString() {
        return "City{" +
                "cityId=" + cityId +
                ", x=" + x +
                ", y=" + y +
                '}';
    }
}
